class T:
    name = "T"
    def __str__(self):
        return self.name
T1 = T()
print(T1)
print("%s %s" %("Hello","world"))
print("{}".format("Hello"))
print("{:.2f}".format(3.1415926))
print("%.2f"%(3.1415926))